/*    */ package com.hs.activation.controller;
/*    */ 
/*    */ import com.hs.activation.common.annotation.PassToken;
/*    */ import com.hs.activation.common.result.BaseController;
/*    */ import com.hs.activation.common.result.Result;
/*    */ import com.hs.activation.service.IActivationService;
/*    */ import com.hs.activation.vo.ErpInfoVO;
/*    */ import io.swagger.annotations.Api;
/*    */ import io.swagger.annotations.ApiOperation;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.web.bind.annotation.PostMapping;
/*    */ import org.springframework.web.bind.annotation.RequestBody;
/*    */ import org.springframework.web.bind.annotation.RequestMapping;
/*    */ import org.springframework.web.bind.annotation.RestController;
/*    */ 
/*    */ 
/*    */ @RestController
/*    */ @RequestMapping({"/erp"})
/*    */ @Api(value = "ERP相关接口", tags = {"ERP相关接口"})
/*    */ public class ForErpController
/*    */   extends BaseController
/*    */ {
/*    */   @Autowired
/*    */   IActivationService activationService;
/*    */   
/*    */   @PassToken
/*    */   @ApiOperation(value = "获取激活信息", notes = "获取激活信息", httpMethod = "POST")
/*    */   @PostMapping({"/activation"})
/*    */   public Result activation(@RequestBody ErpInfoVO erpInfo) {
/* 30 */     info(erpInfo.toJson());
/* 31 */     return ok(this.activationService.getActivationCodeByErpInfo(erpInfo));
/*    */   }
/*    */ }


/* Location:              C:\Users\yzc\Desktop\新建文件夹 (3)\activation-0.0.16.jar!\BOOT-INF\classes\com\hs\activation\controller\ForErpController.class
 * Java compiler version: 16 (60.0)
 * JD-Core Version:       1.1.3
 */